var request = require('request');
// var oId=1102;
var vorders=[];
// var vorder={};
exports.orderDetail = function(req,res) {
    request('http://10.222.232.152:8082/WeekFourClient/complaintByOId?oId=' + req.params.oId, function(error, response, body) {
        if (!error && response.statusCode == 200) {
        	var vOrder=JSON.parse(body);
            res.json(vOrder); // Show the HTML for the Google homepage.

        }
    })
}
